#!/usr/bin/env python



username = 'admin'
password = '12345'

def login():
    for i in range(3):
        input_user = input('Please input username: ')
        input_pass = input('Please input password: ')
        if input_user == username and input_pass == password:
            print('登录成功!')
            break
        else:
            print('用户名或者密码输入错误。。')

login()




# 完成的不错

